package com.jack.mvvmexample.adapter

import android.widget.TextView
import androidx.databinding.BindingAdapter

object SimpleBindAdapter{

    @BindingAdapter(value = ["app:name1","pwd1"],requireAll = false)
    @JvmStatic fun setUserHint(textView :TextView,name:String?,pwd:String?){
        textView.setText("用户名： $name   密码：$pwd")
    }

}